<template>
</template>

<script>
	import jwx from "@/common/jwx.js"
	export default {
		onReady() {
			this.configinit()
		},
		methods: {
			async configinit() {
				if (this.$z.IsWeixinOrAlipay() == "weixin") {
					jwx.hideAllNonBaseMenuItemfn();
				}
				let GetAppinfo = await this.$store.dispatch("request/getRequest", {
					url: "/GetAppinfo"
				})
				let AppName = ""
				try {
					AppName = GetAppinfo[0].AppName
				} catch {
					AppName = this.$t.$z("云享充电")
				}
				uni.setNavigationBarTitle({
					title: AppName,
				})
			}
		}
	}
</script>

<style>
</style>